package com.xl.basic.entity.param;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NonNull;
import lombok.experimental.Accessors;

/**
 * @author 钟勇
 * Create in 2023/8/30 11:29
 */
@Data
@Accessors(chain = true)
public class UpdUserParam {

    @NonNull
    @NotBlank(message = "userId不能为空")
    private String userId;

    private String phone;

    @Email(message = "email格式错误")
    private String email;

    private String userName;

    private Integer sex;

    private String avatarUrl;
}
